import { Navigate } from 'react-router-dom';
import HomeCH from '../pages/HomeCH';
import HomeEN from '../pages/HomeEN';

const routes = [
  {
    path: '/home/ch',
    element: <HomeCH />
  },
  {
    path: '/home/en',
    element: <HomeEN />
  },
  {
    path: '/',
    element: <Navigate to='/home/ch' />
  }
];

export default routes;